<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../Ajs/vue.min.js"></script>

</head>
<body>
<div id="app">
    <div v-if="score>=90">优秀</div>
    <div v-else-if="score<90 && score>=60">及格</div>
    <div v-else>不及格</div>

    <hr>

    <div v-show="flag">你好</div>


</div>

<script>
    var vm = new Vue({
        el:"#app",
        data:{
            score:99,

            flag:false
        },
        methods:{}
    })


    // v-if 和 v-show
    /*
    v-if 和 v-show 不显示的区别
    v-if 相当于 remove 删除掉
    v-show 相当于 display:none
    * */






</script>
</body>
</html>
